package com.geelaro.register.service;

import java.util.List;

import org.springframework.data.domain.Page;

import com.geelaro.register.domain.entity.Employee;


public interface EmployeeService {

	List<Employee> findAll();

	void deleteById(Integer id);
	// 分页查找
	 Page<Employee> findAll(int pageNum, int pageSize);

	// 保存
	void save(Employee employee);

	Employee findEmployeeById (Integer id);

}
